package com.wiz.weixin.common;

/**
 * 常量定义
 */
public interface Constant {
	final String REMOTE_URL="http://crm.365yzg.com";
	final String CENTER_HTTP_URL="http://centerhttp1.365yzg.com";
	final String REMOTE_URL_IP="crm.365yzg.com";
	//======================微信url==========================//
	/**得到客户基本信息*/
	String USER_INFO_URL = "https://api.weixin.qq.com/cgi-bin/user/info?access_token=TOKEN&openid=OPENID ";
	
	//================================================//
	/**根据openId查询会员信息*/
	String QUERY_MEMBER_URL = REMOTE_URL+"/member/listByOpenId/";
	/**注册会员*/
	String ADD_MEMBER_URL = REMOTE_URL+"/member/add";
	/**账户支付明细*/
	String LIST_AMOUNT_HISTORY = REMOTE_URL+"/member/listAmountHistory/";
	/**发送验证码*/
	String SEND_CODE_URL = "http://sms.365yzg.com/sms/send";
	
	/**扫一扫加油授权*/
	String AUTH_URL = CENTER_HTTP_URL+"/authority/wx/auth/";
	
	
	/**客户下账户url*/
	String AMOUNT_DETAIL_URL = "http://wx.wiz-tech.com.cn/member/listAccount";
	/**注册会员页面*/
	String MEMBER_REGISTER_URL ="http://wx.wiz-tech.com.cn/member/toRegister?stationId=|STATIONID|&|rand=RAND|&openId=|openId|";
//	String MEMBER_REGISTER_URL ="https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx5d7213f7ae8e6fdf&amp;"
//			+ "redirect_uri=http%3a%2f%2fwx.wiz-tech.com.cn%2fmember%2ftoRegister%3fstationId%3d|STATIONID|%26rand%3d|RAND|&amp;"
//			+ "response_type=code&amp;scope=snsapi_base&amp;state=123#wechat_redirect";
	//wx.wiz-tech.com.cn
	
	
}
